namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// ——配置堆垛机 - 堆垛机入库放胎位  任务限制
    /// </summary>
    public DbSet<POWcsAsrsCrnInput> WcsAsrsCrnInputs { get; set; }
}

/// <summary>
/// ——配置堆垛机 - 堆垛机入库放胎位  任务限制
/// 表[wcs_asrs_crn_input]
/// </summary>
[Table("wcs_asrs_crn_input")]
public class POWcsAsrsCrnInput
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[wcs_asrs_crn_input.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 区域Id
    /// [wcs_asrs_crn_input.area_id)]
    /// </summary>
    [Column("area_id")]
    public long? AreaId { get; set; }
    /// <summary>
    /// 堆垛机
    /// [wcs_asrs_crn_input.crn_id)]
    /// </summary>
    [Column("crn_id")]
    public long? CrnId { get; set; }
    /// <summary>
    /// [wcs_asrs_crn_input.cache_loc)]
    /// </summary>
    [Column("cache_loc")]
    public long? CacheLoc { get; set; }
    /// <summary>
    /// 入库站台1(入库区)
    /// [wcs_asrs_crn_input.input_loc1)]
    /// </summary>
    [Column("input_loc1")]
    public long? InputLoc1 { get; set; }
    /// <summary>
    /// 入库站台2(发货区)
    /// [wcs_asrs_crn_input.input_loc2)]
    /// </summary>
    [Column("input_loc2")]
    public long? InputLoc2 { get; set; }
    /// <summary>
    /// 创建时间
    /// [wcs_asrs_crn_input.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [wcs_asrs_crn_input.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [wcs_asrs_crn_input.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
    /// <summary>
    /// 入库限制任务数量 > (堆垛机正在执行任务数 + 正在输送过
    /// [wcs_asrs_crn_input.task_count)]
    /// </summary>
    [Column("task_count")]
    public int? TaskCount { get; set; }
    /// <summary>
    /// N：北向 S：南向
    /// [wcs_asrs_crn_input.direction)]
    /// </summary>
    [Column("direction")]
    public string Direction { get; set; }
    /// <summary>
    /// 入库未生成入库任务原因 内容+[时间]
    /// [wcs_asrs_crn_input.remark)]
    /// </summary>
    [Column("remark")]
    public string Remark { get; set; }
    /// <summary>
    /// 
    /// </summary>
    [Column("reason")]
    public string Reason { get; set; }
    /// <summary>
    /// 监控页面展示名称
    /// </summary>
    [Column("show_name")]
    public string ShowName { get; set; }

    /// <summary>
    /// 1：常规入库 2：无法配对入库
    /// </summary>
    [Column("input_type")]
    public int? InputType { get; set; }
}
